package com.shopping.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户实体类")
public class User {
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("用户联系方式")
    private String phone;
    @ApiModelProperty("用户状态")
    private Integer status;// 0-正常
    @ApiModelProperty("用户头像")
    private String userImage;
    @ApiModelProperty("个人简介")
    private String profile;
}
